package com.example.bookmanage.domain.user.dto;

import jakarta.validation.constraints.Max;
import jakarta.validation.constraints.Min;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class SysUserUpStatusDTO {
    private Long userId;

    @Max(value = 1, message = "状态值非法")
    @Min(value = 0, message = "状态值非法")
    private Integer status;
}
